lib: fix new clippy warnings
authorLuca BRUNO <luca.bruno@coreos.com>
Wed, 1 Dec 2021 15:13:57 +0000 (15:13 +0000)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:57 +0000 (12:53 -0400)
commit810e86d4fbe6b52ccf4412e08299699d7091b859
treefed6d689b003c39b1dcf81af8aab92539eac6e1a
parent86295e3bfe7932dd778c89e2697c4357ed71a432
lib: fix new clippy warnings

This fixes the following warnings highlighted by clippy:
 * https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
 * https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
 * https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
rust-bindings/rust/src/kernel_args.rs
rust-bindings/rust/src/object_details.rs
rust-bindings/rust/src/object_name.rs
rust-bindings/rust/src/repo.rs
rust-bindings/rust/src/sysroot.rs